<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/includes.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>首页</title>
		<link rel="stylesheet" type="text/css" href="styles/styles.css" />
		<script type="text/javascript" src="js/onlinehotel/index.js"></script>
	</head>
	<body>
		<table>
			<tr>
				<td align="center">
					<table id="tab_1" style="background: url(images/indexTop.png); width: 1024px; height: 512px;">
						<tr style="position: absolute;top: 26px; left: 100px;" align="right">
							<td align="right">
								<a id="addStore" href="JavaScript:window.external.addFavorite('http://localhost:8888/diancan/index.jsp'  ,'【非常网餐http://www.fcwc.com】')">加入收藏</a>
								&nbsp;&nbsp;
								<a id="setHomepage" href="#" onclick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.fcwc.com');window.event.returnValue  =  false;" target="_blank">设为首页</a>
							</td>
						</tr>
						<tr>
							<td><a href="./index.jsp"><img id="index_logo" src="images/logo.png" border="0"/></a></td>
							<td><a href="./index.jsp"><img id="index_h" src="images/index_h.png" border="0"/></a></td>
							<td><a href="javascript:tologin()"><img id="toLogin_h" src="images/toLogin_h.png" border="0"/></a></td>
							<td><a href="<c:url value="/count.do"/>"><img id="jifen_h" src="images/jifen_h.png" border="0"/></a></td>
							<td><a href="<c:url value="/news.do"/>"><img id="new_h" src="images/new_h.png" border="0"/></a></td>
							<td><a href="<c:url value="/bbs.do"/>"><img id="bbs_h" src="images/bbs_h.png" border="0"/></a></td>
							<td><a href="<c:url value="/skill.do"/>"><img id="skill_h" src="images/skill_h.png" border="0"/></a></td>
							<td><a href="<c:url value="/registerUser.do"/>"><img id="register_h" src="images/register_h.png" border="0"/></a></td>
						</tr>
						<tr>
							<td>
								<table id="tab_2">
									<tr>
										<td><font color="red">这里是首页公告显示的地方!</font></td>
									</tr>
								</table>
							</td>
							<td>
								<form action="" method="post">
									<table>
										<tr>
											<td><input id="index_hotelname" type="text" name="hotelname" value="请输入您要查询的饭店名" onfocus="hfocus();" onblur="hblur();" /></td>
										</tr>
										<tr>
											<td><input id="index_dish" type="text" name="dish" value="请输入您要查询的菜名" onfocus="vfocus();" onblur="vblur();" /></td>
										</tr>
										<tr>
											<td>
												<select id="location_one"><option>福州市</option></select>
												<select id="location_two"><option>区域二</option></select>
												<select id="location_three"><option>区域三</option></select>		
											</td>
										</tr>
										<tr> 
											<td>
												<a href=""><img id="search_h" src="images/search_h.png" border="0"/></a>	
											</td>
										</tr>
									</table>
								</form>
							</td>
						</tr>
						<!-- width="76%" -->
						<tr>
							<td>
								<table id="tab_3" style="background: url(images/showMc.png); width: 1024px; height: 292px;">
									<tr>
										<td>
											<a href=""><img id="left" src="images/left.png" border="0" /></a>
											<a href=""><img id="right" src="images/right.png" border="0" /></a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table id="tab_4" style="background: url(images/index_bg.png); width: 1024px; height: 1117px;">
									<tr>
										<td>
											<table id="tab_6">
												<tr>
													<c:forEach begin="0" end="3">
														<td>
															<img src="images/showFrame.png" border="0" />
														</td>
														<td>&nbsp;</td>
													</c:forEach>
												</tr>
											</table>
										</td>
									</tr>
									<tr>
										<td>
											<table id="tab_7">
												<tr>
													<c:forEach begin="0" end="3">
														<td>
															<img src="images/showFrame.png" border="0" />
														</td>
														<td>&nbsp;</td>
													</c:forEach>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
						</tr>
						<tr>
							<td>
								<table id="tab_5" style="background: url(images/loginState.png); width: 275px; height: 181px;">
									<tr>
										<td>
											<a href="<c:url value="/registerUser.do"/>"><img id="loginState_register" src="images/loginState_register.png" border="0"/></a>
											<a href="javascript:tologin()"><img id="loginState_login" src="images/loginState_login.png" border="0"/></a>
										</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
		<%@ include file="/WEB-INF/jsp/login.jsp"%>
	</body>
</html>